﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Administrator/EHTAdmin.Master" AutoEventWireup="true" CodeBehind="AdminCustomer.aspx.cs" Inherits="EHTWebsiteProject.Administrator.AdminCustomer" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MenuModulContent" runat="server">
    <div class="MenuSub-Left" >
        <table>
            <tr>
                <td> <img alt="" src="../images/EHTgiaodien/icon-48-user.png" /></td>
                <td><asp:Label ID="lbCustomer" runat="server" Text="Kunde Leder" ></asp:Label></td>
            </tr>
        </table>           
    </div>
    <div class="MenuSub-Right" align="right">
        <table style="height:60px">
            <tr>                
                <td valign="middle">
                    <div class="add-edit-del">
                            <asp:ImageButton ID="ImgUnLock" runat="server" 
                                ImageUrl="~/images/EHTgiaodien/icon-32-unlock.jpeg" width="32px" height="32px" 
                                CssClass="imagboder" onclick="ImgUnLock_Click" />                                               
                            <br />
                            <asp:Label ID="lbUnLock" runat="server" Text="Mở khóa"></asp:Label>                        
                    </div>
                </td>
                <td valign="middle">
                    <div class="add-edit-del">  
                            <asp:ImageButton ID="ImgLock" ImageUrl="~/images/EHTgiaodien/icon-32-Lock.jpeg" 
                                runat="server" width="32px" height="32px" CssClass="imagboder" 
                                onclick="ImgLock_Click" />                     
                            <br />
                            <asp:Label ID="lbLock" runat="server" Text="Khóa"></asp:Label>                        
                    </div>
                </td>             
           
                 <td valign="middle">
                    <div class="add-edit-del">
                        <a href="#">
                            <img alt="" src="../images/EHTgiaodien/icon-32-help.png" width="32px" height="32px" class="imagboder" /><br />
                            <asp:Label ID="lbHelp" runat="server" Text="Trợ giúp"></asp:Label>
                        </a>
                    </div>
                </td>                
            </tr>
        </table>
    </div>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="ContentMain" runat="server">
    <asp:Repeater ID="rpUser" runat="server" onitemdatabound="rpUser_ItemDataBound" >                        
        <HeaderTemplate>
            <table ID="table" border="0" cellpadding="0" cellspacing="0" >
                 <thead>
                    <tr>          
                                     <th>
                                        <asp:CheckBox ID="ckAll" runat="server" AutoPostBack="true" OnCheckedChanged="CheckAll" />                        
                                    
                                    </th>
                                   <th>                   
                                        <asp:Label ID="lbID" runat="server" Text="antall ordre"></asp:Label>
                                    </th>
                                    <th>
                                        <asp:Label ID="lbAccount" runat="server" Text="Konto"></asp:Label>                            
                                    </th>                                                                                                          
                                    <th>
                                         <asp:Label ID="lbStatus" runat="server" Text=" Trạng thái "></asp:Label>   
                                    </th>                                                                                                                                             
                    </tr>
                 </thead>
                 <tbody>            
        </HeaderTemplate>
        <ItemTemplate>
                 <tr>            
                        <td>
                            <asp:CheckBox ID="ckMenu"  runat="server" />
                            <asp:Label ID="lbDelID" runat="server" Visible="false" Text='<%#Eval("UserName")%>'></asp:Label>
                        </td>            
                        <td>
                             <%# Container.ItemIndex + 1 %>
                        </td>
                        <td>
                           <a href='AdminCustomerDetails.aspx?User=<%#Eval("UserName")%>' class="linkedit">
                             <%#Eval("Email") %>
                           </a>
                        </td>                                                             
                        <td>
                            <asp:Image ID="ImaStatus" runat="server" Width="16px" Height="16px" />
                        </td>                      
                    </tr>
        </ItemTemplate>
        <FooterTemplate>
                </tbody>
             </table>
        </FooterTemplate>
    </asp:Repeater>
</asp:Content>
